package com.hdoit.ares.logical.brokerage.service;

import java.util.HashMap;
import java.util.List;

import com.tennetcn.common.dao.base.ISuperService;
import com.tennetcn.common.message.LoginModel;
import com.tennetcn.common.message.PagerModel;
import com.hdoit.ares.logical.brokerage.model.CarBrokerageRecord;
import com.hdoit.ares.logical.insu.model.FanhuaCar;
import com.hdoit.ares.logical.viewmodel.brokerage.CarBrokerageRecordSearch;
import com.hdoit.ares.logical.viewmodel.cust.CustomerSearch;
/**
 * @author      yujinhui
 * @email       
 * @createtime  2017年12月14日 11:31:05
 * @comment
 */
public interface ICarBrokerageRecordService extends ISuperService<CarBrokerageRecord>{
    public List<CarBrokerageRecord> queryList(CarBrokerageRecordSearch search,PagerModel pagerModel);
	
	public int queryCount(CarBrokerageRecordSearch search);

	public boolean updateCarBrokerageRecord(String brokerageId, LoginModel loginModel);
	
	public CarBrokerageRecord queryByTaskId(String taskId);
	
	public HashMap<String,String> queryCarBrokerageRecordForStatistic(CustomerSearch search);
	
	public HashMap<String,String> queryCarBrokerageRecordForMoney(CustomerSearch search);

	public boolean setCarBrokerageRecords(FanhuaCar fanhuaCar);
}
